<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="baidu-site-verification" content="jTiV8KRQYO" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>科沃斯官网商城_扫地机器人_擦窗机器人_空气净化器_净化机器人_管家机器人-智生活享人生_科沃斯官网商城</title>
    <meta name="keywords"
        content="科沃斯,科沃斯机器人,科沃斯商城,科沃斯官网,科沃斯机器人官网商城,扫地机器人,擦窗机器人,净化机器人,空气净化器,管家机器人,智能机器人,家用机器人,地宝,窗宝,沁宝" />
    <meta name="description"
        content="科沃斯机器人官网商城，提供地宝(扫地机器人)、窗宝(擦窗机器人)、沁宝(空气净化器)、亲宝(管家机器人)等家用智能机器人及机器人配件产品。科沃斯全部产品通过了最为苛刻的欧洲ROHS环保认证；欢迎致电科沃斯热线：400-886-8888了解更多信息。" />
    <link rel="icon" type="image/x-icon" href="../img/favicon.ico">
    <link rel="stylesheet" type="text/css" href="../css/global.css">
    <link rel="stylesheet" type="text/css" href="../css/cart.css">
    <script src="../js/jquery-1.11.0.min.js"></script>
    <script src="../js/cookie.js"></script>


    <!--[if lte IE 9]>
    <script>window.location.href="https://mall.ecovacs.cn/upgrade-browser.html?fr="+encodeURIComponent(location.href);</script>
    <![endif]-->

</head>

<body>
    <!-- 公共 - 顶部工具条 -->
    <div class="site-topbar">
        <!-- 公共 - 左边栏 -->
        <div class="container">
            <div class="nav">
                <a href="index.html">科沃斯官网</a>
                <span class="sep">|</span>
                <a class="addFavorite" href="javascript:void(0)">收藏我们</a>
            </div>
            <!-- 公共 - 右边栏 -->
            <div class="user">
                <a href="" rel="nofollow" ga="login/click/login">
                    <span class="sign-status">签到领积分</span>
                </a>
                <a href="login.html" rel="nofollow" ga="login/click/login">登录</a>
                <span class="sep">|</span>
                <a href="enroll.html" rel="nofollow" ga="login/click/reg">注册</a>
                <span class="sep">|</span>
                <a href="#" rel="nofollow" ga="login/click/myorder">我的订单</a>
                <a class="cart" go="login/mouseover/shopCart" href="cart.html">
                    <i class="icon-v2 icon-cart"></i>购物车
                </a>
                </a>
            </div>
            <!-- 公共 - 中间栏 -->
            <div class="top-ad">
                <div class="kws-adv text" style="width:100%;height:30px;overflow:hidden;">
                    <div class="item" date-adkey="101001" data-adid="1499" style="width:100%" line-height:30px;>
                        <a href="" target="_blank">新用户注册，领取200元优惠券礼包></a>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 公共 - 顶部菜单 -->
    <div class="site-header">
        <!-- 公共 - logo -->
        <div class="container">
            <div class="logo">
                <a href="index.html"><img src="https://static.ecovacs.cn/p/images/v2/logo_dark.png"></a>
            </div>

            <!-- 公共 - 搜索栏 -->
            <div class="search">
                <form action="/search.html" method="get" autocomplete="off">
                    <input type="text" class="words" name="words">
                    <button type="submit">
                        <i class="icon icon-search">
                        </i>
                    </button>
                    <div class="hotwords"></div>
                </form>
                <div class="hotwords2">
                    <div class="kws-adv richtext" style="width:411px;height:25px;overflow: hidden;">
                        <div class="item" data-adkey="100002" data-adid="1997">
                            <span style="white-space:normal;">
                                <a target="_blank">
                                    <span style="color:#E53333;">以旧换新第三季</span>
                                    <span style="color:#E53333;">旧机最高抵1000元</span>
                                </a>
                            </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <!-- 购物车B-->
    <div id="cart">
        <div class="cart-main">
            <div class="cart-head">
                <div class="check all">
                    <i class="iconfont checkbox"></i> 全选
                </div>
                <div class="title">商品名称</div>
                <div class="price">单价</div>
                <div class="amount">数量</div>
                <div class="totalPrice">小计</div>
                <div class="act">操作</div>
            </div>

            <div class="cart-list">
                <!-- <div class="common line"></div>
                <div data-id="2794" class="item">
                    <div class="check">
                        <i class="iconfont checkbox checked" data-id="2794">
                        </i>
                    </div>

                    <div class="image Timage">
                        <a href="https://mall.ecovacs.cn/product-2794.html" target="_blank"><img class="Timages"
                                src="https://static.ecovacs.cn//upload/goods_photo_album/2018/07/12/goods_photo_album_15313884055496.jpg"
                                alt="">
                        </a>
                    </div>
                    <div class="title Ttitle">
                        <a href="https://mall.ecovacs.cn/product-2794.html" target="_blank">质保3年 科沃斯扫地机器人DN520
                            全局规划经典款</a>
                    </div>

                    <div class="price Tprice">2699.00元</div>

                    <div class="amount">
                        <div class="amountAct" data-id="2794">
                            <div class="minus">-</div>
                            <input type="text" maxlength="6" value="1" aotocomplete="off">
                            <div class="plus">+</div>
                        </div>
                    </div>
                    <div class="totalPrice">2699元</div>
                    <div class="act">
                        <span class="del">x</span>
                    </div>
                </div> -->





            </div>


            <div class="cart-foot">
                <div class="cart-act">
                    <a class="gohome-btn" href="https://mall.ecovacs.cn">继续购物</a>
                    <span class="interval-character">|</span>
                    <a class="clear-btn">清空购物车</a>
                </div>
                <div class="cart-count">
                    <div class="reduce-price"></div>
                    <div class="total-price"></div>
                </div>
                <div class="checkout">
                    <button type="button" class="checkout-btn">下单结算</button>
                </div>
            </div>
        </div>

        <!-- 热门商品推荐 -->
        <div class="recommend-goods">
            <div class="title">热门商品</div>
            <div class="list">
                <div class="col-3">
                    <div class="item">
                        <div class="image aspect">
                            <a>
                                <img src="https://static.ecovacs.cn/upload/goods_image/2018/05/25/goods_image_15272300029344.png"
                                    alt="">
                            </a>
                        </div>
                        <div class="title">
                            <a href="">地宝DJ35 视觉导航</a>
                        </div>
                        <div class="price">￥1699</div>
                        <div class="add_cart">
                            <button type="button" data-id="2556">加入购物车</button>
                        </div>
                    </div>
                </div>


                <div class="col-3">
                    <div class="item">
                        <div class="image aspect">
                            <a>
                                <img src="https://static.ecovacs.cn/upload/goods_image/2018/08/08/goods_image_15337187692231.png"
                                    alt="">
                            </a>
                        </div>
                        <div class="title">
                            <a href="">地宝DN55 高端新品</a>
                        </div>
                        <div class="price">￥2399</div>
                        <div class="add_cart">
                            <button type="button" data-id="2556">加入购物车</button>
                        </div>
                    </div>
                </div>


                <div class="col-3">
                    <div class="item">
                        <div class="image aspect">
                            <a>
                                <img src="https://static.ecovacs.cn/upload/recommend_img/2017/05/20170502101253476.png"
                                    alt="">
                            </a>
                        </div>
                        <div class="title">
                            <a href="">地宝DD35 智控扫拖</a>
                        </div>
                        <div class="price">￥1299</div>
                        <div class="add_cart">
                            <button type="button" data-id="2556">加入购物车</button>
                        </div>
                    </div>
                </div>

                <div class="col-3">
                    <div class="item">
                        <div class="image aspect">
                            <a>
                                <img src="https://static.ecovacs.cn/upload/goods_image/2018/05/25/goods_image_15272300029344.png"
                                    alt="">
                            </a>
                        </div>
                        <div class="title">
                            <a href="">地宝魔镜S 扫拖一体</a>
                        </div>
                        <div class="price">￥999</div>
                        <div class="add_cart">
                            <button type="button" data-id="2556">加入购物车</button>
                        </div>
                    </div>
                </div>






            </div>
        </div>
    </div>

    <!-- 公共 - 底部 -->
    <div class="site-footer">
        <div class="container">
            <div class="footer-service">
                <ul>
                    <li>
                        <i class="iconfont icon-pinzhibaozheng"></i><b>官方品质保证</b>
                    </li>
                    <li>
                        <i class="iconfont icon-tianwuliyou"></i><b>7天无理由退货</b>
                    </li>
                    <li>
                        <i class="iconfont icon-baoyou"></i><b>全场满99包邮</b>
                    </li>
                    <li>
                        <i class="iconfont icon-wangdianguanli"></i><b>售后网点 全国覆盖</b>
                    </li>
                </ul>
            </div>
            <div class="footer-links">
                <div class="f-main-info">
                    <dl>
                        <dt>购物相关</dt>
                        <dd><a target="_blank">购物指南</a></dd>
                        <dd><a target="_blank">支付方式</a></dd>
                        <dd><a target="_blank">配送方式</a></dd>
                        <dd><a target="_blank">官翻机专区</a></dd>
                    </dl>
                    <dl>
                        <dt>售后支持</dt>
                        <dd><a target="_blank">售后服务政策</a></dd>
                        <dd><a target="_blank">退换货政策</a></dd>
                        <dd><a target="_blank">常见问题</a></dd>
                    </dl>
                    <dl>
                        <dt>关注我们</dt>
                        <dd><a target="_blank">新浪微博</a></dd>
                        <dd><a target="_blank">会员制度</a></dd>
                        <dd><a target="_blank">加入我们</a></dd>
                        <dd><a target="_blank">廉洁监督</a></dd>
                    </dl>
                    <dl>
                        <dt>关于我们</dt>
                        <dd><a target="_blank">关于科沃斯</a></dd>
                        <dd><a target="_blank">社会责任</a></dd>
                        <dd><a target="_blank">联系我们</a></dd>
                    </dl>
                    <div class="f-qrcode">
                        <img src="https://static.ecovacs.cn/p/images/v2/footer_qrcode.png">
                    </div>
                    <div class="f-contact">
                        <p class="tel">400-886-8888</p>
                        <p class="service-time">周一至周日 9:00-20:00</p>
                        <p class="contact-btn">
                            <button type="button" class="u-btn openChatBox"><i></i>在线客服</button>
                        </p>
                    </div>
                </div>
                <div class="f-copyright">
                    <p>
                        Copyright ©2014-2019 科沃斯机器人版权所有 <a
                            target="_blank">苏ICP备14049145号-1</a>&nbsp;&nbsp;ICP证：苏B1-20140152
                        <span class="szgs-stat">
                            <span id="szgs_stat_icon_45401">
                                <a target="_blank">
                                    <img src="../img/szicbok.gif" alt="">
                                </a>
                            </span>
                        </span>
                    </p>
                </div>
            </div>
        </div>
    </div>

    <!-- 公共 - 左侧楼梯 -->
    <div class="toolbar">
        <a href="javascript:;" class="toolbar-item toolbar-item-weixin"><span class="toolbar-layer"></span></a>
        <a href="javascript:;" class="toolbar-item toolbar-item-feedback"></a>
        <a href="javascript:;" class="toolbar-item toolbar-item-app"><span class="toolbar-layer"></span></a>
        <a href="javascript:scroll(0,0)" id="top" class="toolbar-item toolbar-item-top"></a>
    </div>
    </div>
    </div>
    </div>


    <script>
        $(function () {
            var show = cookie.get('shop');
            if (show) {
                show = JSON.parse(show);
                var idList = show.map(elm => elm.id).join();
                $.ajax({
                    type: "get",
                    url: "../php/show.php",
                    data: {
                        "idList": idList
                    },
                    dataType: "json",
                    success: function (res) {
                        // console.log(res);
                        var template = "";
                        res.forEach((elm, i) => {
                            var pic = JSON.parse(elm.pic);
                            var arr = show.filter((val, i) => {
                                return val.id === elm.id;

                            });

                            template += `
                            <div class="common line"></div>
                <div data-id="2794" class="item">
                    <div class="check">
                        <i class="iconfont checkbox checked" data-id="2794">
                        </i>
                    </div>

                    <div class="image Timage">
                        <a href="https://mall.ecovacs.cn/product-2794.html" target="_blank"><img class="Timages"
                                src="${pic[3].src}"
                                alt="">
                        </a>
                    </div>
                    <div class="title Ttitle">
                        <a href="https://mall.ecovacs.cn/product-2794.html" target="_blank">${elm.title}</a>
                    </div>

                    <div class="price Tprice">${elm.price}</div>

                    <div class="amount">
                        <div class="amountAct" data-id="2794">
                            <div class="minus">-</div>
                            <input type="text" maxlength="6" value="${elm.num}" aotocomplete="off">
                            <div class="plus">+</div>
                        </div>
                    </div>
                    <div class="totalPrice">2699元</div>
                    <div class="act">
                        <span class="del">x</span>
                    </div>
                </div>

                
`



                            //                         var template1 = `
                            //                         <div class="image">
                            //                         <a  target="_blank"><img
                            //                                 src="${pic[3].src}"
                            //                                 alt="">
                            //                         </a>
                            //                     </div>


                            //             `;
                            //                         $('.Timage').html(template1);

                            //                         var template2 = `
                            //                         <div class="title">
                            //                         <a target="_blank">${res.title}</a>
                            //                     </div>

                            //             `
                            //                         $('.Ttitle').html(template2);

                            //                         var template3 = `

                            //                         <div class="price">${res.price}</div>
                            // `;
                            //                         $('.Tprice').html(template3);


                            //                         $(".minus").on("click", function () {
                            //                         var numb = $("input:eq(1)").attr("value")
                            //                         numb -=1
                            //                         $("input:eq(1)").attr("value",numb)
                            //                     })

                            //                     $(".plus").on("click", function () {
                            //                         var numb = $("input:eq(1)").attr("value")
                            //                         numb=+numb
                            //                         numb +=1
                            //                         $("input:eq(1)").attr("value",numb)
                            //                     })


                        });

                        $(".cart-list").html(template)

                    }
                });
            }

        })()
    </script>





</body>

</html>